package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 动力电池信息对象 t_power_battery_info
 * 
 * @author wuliuzhen
 * @date 2025-10-01
 */
public class TPowerBatteryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 电池编号 */
    @Excel(name = "电池编号")
    private String batteryNumber;

    /** 单体型号 */
    @Excel(name = "单体型号")
    private String cellModel;

    /** 模组型号 */
    @Excel(name = "模组型号")
    private String moduleModel;

    /** 箱体型号 */
    @Excel(name = "箱体型号")
    private String boxModel;

    /** 额定能量 Wh */
    @Excel(name = "额定能量 Wh")
    private Long ratedEnergy;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 租户名称 */
    @Excel(name = "租户名称")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBatteryNumber(String batteryNumber) 
    {
        this.batteryNumber = batteryNumber;
    }

    public String getBatteryNumber() 
    {
        return batteryNumber;
    }

    public void setCellModel(String cellModel) 
    {
        this.cellModel = cellModel;
    }

    public String getCellModel() 
    {
        return cellModel;
    }

    public void setModuleModel(String moduleModel) 
    {
        this.moduleModel = moduleModel;
    }

    public String getModuleModel() 
    {
        return moduleModel;
    }

    public void setBoxModel(String boxModel) 
    {
        this.boxModel = boxModel;
    }

    public String getBoxModel() 
    {
        return boxModel;
    }

    public void setRatedEnergy(Long ratedEnergy) 
    {
        this.ratedEnergy = ratedEnergy;
    }

    public Long getRatedEnergy() 
    {
        return ratedEnergy;
    }

    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }

    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("batteryNumber", getBatteryNumber())
            .append("cellModel", getCellModel())
            .append("moduleModel", getModuleModel())
            .append("boxModel", getBoxModel())
            .append("ratedEnergy", getRatedEnergy())
            .append("serialNumber", getSerialNumber())
            .append("manufacturer", getManufacturer())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("deptId", getDeptId())
            .toString();
    }
}
